﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CarEdge.Infrastructure.Dto.Response.Product
{
    /// <summary>
    /// 产品
    /// </summary>
    public class Product_Response_Dto
    {
        /// <summary>
        /// 产品ID
        /// </summary>
        public string? pid { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        public string? pname { get; set; }
        /// <summary>
        /// 产品类型
        /// </summary>
        public string? ptype { get; set; }
        /// <summary>
        /// 产品价格
        /// </summary>
        public double? pprice { get; set; }
        /// <summary>
        /// 产品描述
        /// </summary>
        public string? pexplain { get; set; }
        /// <summary>
        /// 产品是否上架
        /// </summary>
        public int? pislist { get; set; }
        /// <summary>
        /// 产品图片
        /// </summary>
        public string[]? pimg{ get; set; }
        /// <summary>
        /// 产品销量
        /// </summary>
        public int? psales { get; set; }
        /// <summary>
        /// 产品上架时间
        /// </summary>
        public string? pcreatetime { get; set; }
        /// <summary>
        /// 产品生产日期
        /// </summary>
        public string? pData { get; set; }
        /// <summary>
        /// 产品库存
        /// </summary>
        public int? pCount { get; set; }
        /// <summary>
        /// 产品类型名称
        /// </summary>
        public string? ptname { get; set; }
        /// <summary>
        /// 产品类型ID
        /// </summary>
        public string? ptid{ get; set; }
        /// <summary>
        /// 多个产品ID
        /// </summary>
        public IEnumerable<string?>? ids { get; set; }
        /// <summary>
        /// 产品保质期
        /// </summary>
        public int? pshelf { get; set; }
   
        /// <summary>
        /// 序号
        /// </summary>
        public int? pno { get; set; }
        /// <summary>
        /// 是否置顶
        /// </summary>
        public int? PIstop { get; set; }
        /// <summary>
        /// 服务类时长
        /// </summary>
        public int? pDuration { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double psunprice { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public double? total_price { get; set; }

        /// <summary>
        /// 数量
        /// </summary>
        public int? count { get; set; }
        /// <summary>
        /// 总价
        /// </summary>
        public double? sum { get; set; }
        /// <summary>
        /// 图片
        /// </summary>
        public string? img { get; set; }

    }
}
